* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 1em;
  list-style: none;
  font-weight: normal;
  text-decoration: none;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both
}
.clearfix {
  zoom: 1
}
html {
  background: #0d7bd5 url('/public/img/glow.png') no-repeat center center;
  height: 100%;
  _background: #0d7bd5;
}
body {
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  font: 13px/22px 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, 'Hiragino Sans GB', sans-serif;
  text-shadow: 0 1px 0 rgba(0,0,0,.3);
  position: relative;
  height: 100%;
  text-align: center;
}
body, label, input, textarea, select, button {
  font-family: 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, 'Hiragino Sans GB', sans-serif
}
a {
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  -webkit-transition: color .1s ease, background-color .1s ease;
}
#login, #apply {
  width: 480px;
  height: 390px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -195px 0 0 -240px;
}
.used,
.success,
.failure,
#apply form,
#login form {
  float: right;
  *width: 262px;
  position: relative;
}
#login form{}
#apply h1,
#login h1 {
  float: left;
  width: 135px;
  height: 99px;
  text-indent: -9999px;
  background: url('/public/img/logo.png') no-repeat 0 0;
}
.js #login label{
  display: none;
}
.js #login label.remember_me{
  display: inline;
}
#login .captcha{
  margin-bottom: 18px;
  text-align: left;
}
#login .captcha img{
  vertical-align: middle;
  margin-right: 10px;
}
.text {
  display: inline-block;
  width: 250px;
  padding: 10px 5px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 18px;
  background: #e8f4fc;
  border: 1px solid #0d7bd5;
  color: #888;
  cursor: text;
  box-shadow: 0 1px 0 rgba(255,255,255,.3),0 1px 3px rgba(0,0,0,.3) inset;
  background-clip: padding-box;
  border-radius: 5px;
}
input[type=email],
input[type=password]{
  ime-mode: disabled;
}

.text:focus {
  background: #fff
}
.button {
  background: #1e95e5;
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  box-shadow: 0 1px 0 rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.15) inset;
  border: 1px solid #147dcd;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  line-height: 18px;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  padding: 6px 15px;
  text-align: center;
  vertical-align: middle;
  border-radius: 5px;
  float: left;
  -webkit-appearance: none;
  *color: #b7d4ec;
}
.button:active {
  background: #1d8fdb;
  box-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.button:focus {
  box-shadow: 0 0 10px rgba(255,255,255,.5),0 1px 0 rgba(255,255,255,.15) inset
}
.actions {
  float: right;
  margin: 6px 0 0;
  display: block;
  *color: #b7d4ec;
}
.middot {
  padding: 0 5px
}
.reset, .remember_me {
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  *color: #b7d4ec;
}
.promo {
  clear: both;
  padding: 120px 0 0;
}
.promo .reader {
  display: block;
  margin: 0 auto;
  width: 269px;
  height: 111px;
  background: url('/public/img/promo-box.png') no-repeat 0 0;
}
.promo .reader:active span {
  opacity: .8
}
.promo .reader:hover {
  background: url('/public/img/promo-box.png') no-repeat 0 -111px
}
.promo .reader span {
  display: block;
  width: 269px;
  height: 111px;
  background: url('/public/img/promo-text.png') no-repeat 30px center;
  text-indent: -9999px;
}
.reg {
  position: absolute;
  top: 30px;
  right: 40px;
}
.register {
  font-size: 14px;
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  display: block;
  background: rgba(0,0,0,.1);
  padding: 3px 15px;
  border-radius: 50px;
  box-shadow: 0 1px 0 rgba(255,255,255,.15),0px 1px 3px rgba(0,0,0,.2) inset;
  *color: #b7d4ec;
  *background: #0c6ebf;
}
.register:hover {
  background: rgba(0,0,0,.15)
}
.footer {
  width: 480px;
  text-align: center;
  position: absolute;
  bottom: -150px;
  color: #61aae2;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
  font-size: 12px;
  _color: #61aae2;
}
.footer a {
  color: #61aae2
}
textarea.text {
  height: 80px;
}
.success {
  background: url('/public/img/ok.png') no-repeat center top;
  padding: 100px 0 0;
}
.used {
  background: url('/public/img/error.png') no-repeat center top;
  padding: 100px 0 0;
}
.failure {
  color: #b7d4ec;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.1);
  box-shadow: 0 1px 0 rgba(255,255,255,.15),0px 1px 3px rgba(0,0,0,.2) inset;
  color: #b7d4ec\9;
  background: #0c6ebf\9;
  width: 242px;
  border-radius: 4px;
  padding: 10px;
  text-align: left;
  margin: 0 0 20px;
}
.failure li{
  line-height: 1em;
}
.failure li+li{
  margin-top: 10px;
}
.failure li i{
  display: inline-block; height: 16px;
  width: 16px; margin-right: 5px;
  vertical-align: middle;
  background: url(/public/img/error-icon.png) no-repeat;
}
.failure li span{
  vertical-align: middle;
}

@media only screen and (max-device-width:480px) { 
	#login,
	#apply {
	  width: 280px;
	  height: auto;
	  margin: 0 auto;
	  padding: 30px 0 0 0;
	  position: static;
	}
	#login form,
	#apply form {
	  margin: 0 auto;
	  width: 270px;
	  padding: 30px 0 0;
	}
	#login h1,
	#apply h1 {
	  float: none;
	  width: 100%;
	  background-position: center 0;
	}
	.button {
	  -webkit-appearance: none
	}
	.promo, .footer {
	  display: none
	}
	.reg {
	  clear: both;
	  position: static;
	  width: 200px;
	  text-align: center;
	  margin: 0 auto;
	  padding: 30px 0;
	}
	.used, .success, .failure, #apply form, #login form {
	  float: none;
	}
	.failure,
	.used,
	.success {
	  margin: 30px 0 0;
	}
}
@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2) { 
	#login h1,
	#apply h1 {
	  background-image: url('/public/img/ogo@2x.png');
	  -webkit-background-size: 135px 99px;
	}
}